using System;

namespace VOL.Entity.DomainModels
{
    /// <summary>
    /// 销售订单明细DTO（用于出库关联）
    /// </summary>
    public class SalesOrderDetailDto
    {
        /// <summary>
        /// 明细ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 销售订单外键Id
        /// </summary>
        public long ShopOrderId { get; set; }

        /// <summary>
        /// 货品外键Id
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 货品编号
        /// </summary>
        public string GoodsCode { get; set; }

        /// <summary>
        /// 货品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecModel { get; set; }
        /// <summary>
        /// 货品库存
        /// </summary>
        public int currentInventory { get; set; }

        /// <summary>
        /// 销售货品数量
        /// </summary>
        public int ShopOrderNum { get; set; }

        /// <summary>
        /// 销售货品单价
        /// </summary>
        public long ShopOrderMoney { get; set; }

        /// <summary>
        /// 销售货品总金额
        /// </summary>
        public long ShopOrderAllMoney { get; set; }

        /// <summary>
        /// 货品状态
        /// </summary>
        public sbyte Status { get; set; }

        /// <summary>
        /// 货品类型ID
        /// </summary>
        public int ProductTypeId { get; set; }

        /// <summary>
        /// 供应商ID
        /// </summary>
        public long? SupplierId { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
    }
}
